<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>华泰信息化管理系统</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <#include "../public/css.ftl">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<#include "../public/header.ftl">
<#include "../public/aside.ftl">
    <div class="content-wrapper">
        <section class="content-header">
            <h1>
                资产设备查询
                <small>advanced tables</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li>资产设备</li>
                <li class="active">资产变动流水</li>
            </ol>
        </section>
        <section class="content">
            <div class="row">
                <div class="col-xs-12">
                    <div class="nav-tabs-custom">
                        <ul class="nav nav-tabs">
                            <li class="active"><a href="#assetTableDiv" data-toggle="tab" onclick="">资产设备查询</a></li>
                            <li><a href="#assetActionTableDiv" data-toggle="tab">资产设备变动查询</a></li>
                        </ul>
                        <div class="tab-content">
                            <div class="tab-pane active" id="assetTableDiv">
                                <div id="toolbar">
                                    <div class="form-inline" role="form">
                                        <div class="form-group">
                                            <span>Offset: </span>
                                            <input name="offset" class="form-control w70" type="number" value="0">
                                        </div>
                                        <div class="form-group">
                                            <span>Limit: </span>
                                            <input name="limit" class="form-control w70" type="number" value="5">
                                        </div>
                                        <div class="form-group">
                                            <input name="search" class="form-control" type="text" placeholder="Search">
                                        </div>
                                        <button id="ok" type="submit" class="btn btn-default">OK</button>
                                    </div>
                                </div>
                                    <table id="assetTable" data-toggle="table" data-url="/assetsearch/assetlist" data-search="true"  data-pagination="true" data-sort-name="conId"
                                       data-sort-order="desc" data-toolbar="toolbar">
                                    <thead>
                                    <tr>
                                        <th data-field="oaId" data-sortable="true" >资产编号</th>
                                        <th data-field="assetClass" >资产类型</th>
                                        <th data-field="assetClass" data-sortable="true">状态</th>
                                        <th data-field="sn" data-sortable="true">SN序列号</th>
                                        <th data-field="brand" data-sortable="true">品牌  型号</th>
                                        <th data-field="version" data-sortable="true">CPU</th>
                                        <th data-field="menory" data-sortable="true">内存</th>
                                        <th data-field="menory" data-sortable="true">磁盘一</th>
                                        <th data-field="menory" data-sortable="true">磁盘二</th>
                                        <th data-field="menory" data-sortable="true">所在地</th>
                                        <th data-field="ownerId" data-sortable="true">监护人</th>
                                        <th data-field="userId" data-sortable="true">使用人</th>
                                        <th data-field="acceptDate" data-sortable="true" >验收日期</th>
                                        <th data-field="supName" data-sortable="true" >供应商</th>
                                    </tr>
                                    </thead>
                                </table>
                            </div>

                            <div class="tab-pane" id="assetActionTableDiv">
                            <table id="assetActionTable" data-toggle="table" data-url="/assetaction/list" data-search="true"  data-pagination="true" data-sort-name="conId"
                                   data-sort-order="desc" data-toolbar="">
                                <thead>
                                <tr>
                                    <th data-field="oaId" data-sortable="true" >日期</th>
                                    <th data-field="oaId" data-sortable="true" >变动类型</th>
                                    <th data-field="assetClass" data-sortable="true">资产编号</th>
                                    <th data-field="sn" data-sortable="true">品牌型号</th>
                                    <th data-field="brand" data-sortable="true">监管人</th>
                                    <th data-field="version" data-sortable="true">使用人</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
    <#include "../public/footer.ftl" >
    <div class="control-sidebar-bg"></div>
</div>
<#include "../public/js.ftl" >
</body>
</html>
